package vg.services.data_base_manager.realization;

public class DataBaseFields {
	public static final String VERTEX_TABLE = "vertex";
	public static final String VERTEX_TABLE_ID = "id";
	public static final String VERTEX_TABLE_GRAPH_ID = "graph_id";
	public static final String VERTEX_TABLE_LINK2INNER_GRAPH = "link2inner_graph";
	
	public static final String EDGE_TABLE = "edge";
	public static final String EDGE_TABLE_ID = "id";
	public static final String EDGE_TABLE_GRAPH_ID = "graph_id";
	public static final String EDGE_TABLE_SRC_VERTEX = "src_id";
	public static final String EDGE_TABLE_TRG_VERTEX = "trg_id";
	
	public static final String ATTRIBUTE_TABLE = "attribute";
	public static final String ATTRIBUTE_TABLE_ID = "id";
	public static final String ATTRIBUTE_TABLE_OWNER_ID = "owner_id";
	public static final String ATTRIBUTE_TABLE_OWNER_TYPE = "owner_type";
	public static final String ATTRIBUTE_TABLE_NAME = "name";
	public static final String ATTRIBUTE_TABLE_VALUE = "value";
	public static final String ATTRIBUTE_TABLE_VALUE_TYPE = "value_type";
	public static final int ATTRIBUTE_TABLE_NONE_OWNER_TYPE = -1;
	public static final int ATTRIBUTE_TABLE_VERTEX_OWNER_TYPE = 1;
	public static final int ATTRIBUTE_TABLE_EDGE_OWNER_TYPE = 2;
	
	public static final String GRAPH_TABLE = "graph";
	public static final String GRAPH_TABLE_ID = "id";
	public static final String GRAPH_TABLE_MODEL_ID = "model_id";
	public static final String GRAPH_TABLE_DIRECTED = "directed";

	public static final String GRAPH_MODEL_TABLE = "graph_model";
	public static final String GRAPH_MODEL_TABLE_ID = "id";
	public static final String GRAPH_MODEL_TABLE_NAME = "name";
	public static final String GRAPH_MODEL_TABLE_ROOT_GRAPH_ID = "root_id";	
}
